import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /transactionRecord/getSum/{siteId}
 */
export function getTransactionRecordGetSumBySiteId(params: GetTransactionRecordGetSumBySiteIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/transactionRecord/getSum/${params.siteId}`, config);
}

export interface GetTransactionRecordGetSumBySiteIdParams {
    siteId: number;
}
